package com.zxl.feign;

import com.zxl.vo.StockReduce;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "goods" ,path = "/stock")
public interface StockFeign {

    @RequestMapping("/reduce")
    Boolean reduce(@RequestBody List<StockReduce> reduces);
}
